package com.becca.cake.model.system;

// auto generated imports
import java.io.Serializable;
import java.util.Date;

/**
 * A data object class directly models database table <tt>PRI_POSTS</tt>.
 * @author hejinguo
 */
public class PostDO implements Serializable {
    private static final long serialVersionUID = 741231858441822688L;

    //========== properties ==========

    /**
     * This property corresponds to db column <tt>ID</tt>.
     */
    private Long              id;

    /**
     * This property corresponds to db column <tt>NAME</tt>.
     */
    private String            name;

    /**
     * This property corresponds to db column <tt>PARENT_ID</tt>.
     */
    private Long              parentId;

    /**
     * This property corresponds to db column <tt>CREATED_AT</tt>.
     */
    private Date              createdAt;

    /**
     * This property corresponds to db column <tt>CREATED_MAN</tt>.
     */
    private String            createdMan;

    /**
     * This property corresponds to db column <tt>UPDATE_AT</tt>.
     */
    private Date              updatedAt;

    /**
     * This property corresponds to db column <tt>UPDATE_MAN</tt>.
     */
    private String            updatedMan;

    /**
     * This property corresponds to db column <tt>IS_USEABLE</tt>.
     */
    private String            isUseable;

    //========== getters and setters ==========

    /**
     * Getter method for property <tt>id</tt>.
     *
     * @return property value of id
     */
    public Long getId() {
        return id;
    }

    /**
     * Setter method for property <tt>id</tt>.
     * 
     * @param id value to be assigned to property id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * Getter method for property <tt>name</tt>.
     *
     * @return property value of name
     */
    public String getName() {
        return name;
    }

    /**
     * Setter method for property <tt>name</tt>.
     * 
     * @param name value to be assigned to property name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Getter method for property <tt>parentId</tt>.
     *
     * @return property value of parentId
     */
    public Long getParentId() {
        return parentId;
    }

    /**
     * Setter method for property <tt>parentId</tt>.
     * 
     * @param parentId value to be assigned to property parentId
     */
    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    /**
     * Getter method for property <tt>createdAt</tt>.
     *
     * @return property value of createdAt
     */
    public Date getCreatedAt() {
        return createdAt;
    }

    /**
     * Setter method for property <tt>createdAt</tt>.
     * 
     * @param createdAt value to be assigned to property createdAt
     */
    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    /**
     * Getter method for property <tt>createdMan</tt>.
     *
     * @return property value of createdMan
     */
    public String getCreatedMan() {
        return createdMan;
    }

    /**
     * Setter method for property <tt>createdMan</tt>.
     * 
     * @param createdMan value to be assigned to property createdMan
     */
    public void setCreatedMan(String createdMan) {
        this.createdMan = createdMan;
    }

    /**
     * Getter method for property <tt>updateAt</tt>.
     *
     * @return property value of updateAt
     */
    public Date getUpdatedAt() {
        return updatedAt;
    }

    /**
     * Setter method for property <tt>updateAt</tt>.
     * 
     * @param updateAt value to be assigned to property updateAt
     */
    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    /**
     * Getter method for property <tt>updateMan</tt>.
     *
     * @return property value of updateMan
     */
    public String getUpdatedMan() {
        return updatedMan;
    }

    /**
     * Setter method for property <tt>updateMan</tt>.
     * 
     * @param updateMan value to be assigned to property updateMan
     */
    public void setUpdatedMan(String updatedMan) {
        this.updatedMan = updatedMan;
    }

    /**
     * Getter method for property <tt>isUseable</tt>.
     *
     * @return property value of isUseable
     */
    public String getIsUseable() {
        return isUseable;
    }

    /**
     * Setter method for property <tt>isUseable</tt>.
     * 
     * @param isUseable value to be assigned to property isUseable
     */
    public void setIsUseable(String isUseable) {
        this.isUseable = isUseable;
    }
}
